﻿<%@  Language="C#" MasterPageFile="Admin.master" %>
<%@ Register Src="../module/UpFile.ascx" TagName="UpFile" TagPrefix="inal" %>
<script runat="server">
    public int Typ_Id = 0;
    public int Item_Lang = 1;
    public Types types;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Typ_Id = Utils.GetQueryString("id", 1);
            Item_Lang = Utils.GetQueryString("lang", 1);
            types = new Types(Typ_Id);

        }
    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%=Lang.Show("ColumnManagement") %>
    -
    <%=Lang.Show("Edit")%></asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <script type="text/javascript" language="javascript">
        var Item_Time = '<%= types.Create_Time%>';
        /* 编辑激活 */
    </script>
    <div id="Text_Add_Of_KindEditor">
        <table class="inputs">
            <tr>
                <td class="text">
                    مەزمونى:
                </td>
                <td>
                    <textarea name="content" id="Typ_Content"><%=types.Typ_Content%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    CSS:
                </td>
                <td>
                    <textarea name="content" id="Typ_Style"><%=types.Remark_Css%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    JS:
                </td>
                <td>
                    <textarea name="content" id="Typ_JS"><%=types.Remark_Js%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property1:
                </td>
                <td>
                    <input type="number" name="Property1" id="Property1" value="<%=types.Property1%>"></input>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property2:
                </td>
                <td>
                    <input type="number" name="Property2" id="Property2" value="<%=types.Property2%>"></input>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property3:
                </td>
                <td>
                    <textarea name="Property3" id="Property3"><%=types.Property3%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property4:
                </td>
                <td>
                    <textare type="number" name="Property4" id="Property4"><%=types.Property4%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property5:
                </td>
                <td>
                    <textarea name="Property5" id="Property5"><%=types.Property5%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property6:
                </td>
                <td>
                    <textarea name="Property6" id="Property6"><%=types.Property6%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property7:
                </td>
                <td>
                    <textarea name="Property7" id="Property7"><%=types.Property7%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property8:
                </td>
                <td>
                    <textarea name="Property8" id="Property8"><%=types.Property8%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property9:
                </td>
                <td>
                    <textarea name="Property9" id="Property9"><%=types.Property9%></textarea>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="text">
                    Property10:
                </td>
                <td>
                    <textarea name="Property10" id="Property10"><%=types.Property10%></textarea>
                </td>
                <td>
                </td>
            </tr>
        </table>
        <button onclick="Type_Edit(<%=Typ_Id %>,<%=Item_Lang %>)" class="button">
            <%=Lang.Show("Submit")%></button>
    </div>
</asp:Content>
